package com.ruoyi.exam.enums;

/**
 *
 * @ClassName QuestionType
 * @Description: 题目类型
 * @Author luqian
 * @Date 2024/7/11 4:09 PM
 * @Copyright 八维
 * @Version V1.0.0
 */
public enum QuestionType {

    SINGLE_CHOICE(0, "单选题"),
    MULTIPLE_CHOICE(1, "多选题"),
    TRUEORFALSE_CHOICE(2,"判断题")
    ;

    private final Integer code;
    private final String info;

    QuestionType(Integer code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public Integer getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
